import myAxios from "@/util/request";

/**
 * 获取验证码
 * @param phone 手机号
 */
export const getVerificationCode = async (phone: string) => {
    return myAxios.request({
        url: "/sms/getCode",
        method: "GET",
        params: {
            phone
        }
    });
}
